//
//  L0Section.h
//  L0EntryTable
//
//  Created by ∞ on 18/07/08.
//  Copyright 2008 Emanuele Vulcano. All rights reserved.
//

#import <UIKit/UIKit.h>

@class L0EntryCell, L0EntryTableController;

@interface L0EntrySection : NSObject {
	NSString* title;
	UIView* headerView;
	UIView* footerView;
	
	NSMutableArray* cellsStorage;
	
	L0EntryTableController* controller;
}

@property(copy) NSString* title;
@property(retain) UIView* headerView;
@property(retain) UIView* footerView;

@property(assign) L0EntryTableController* controller;

- (NSUInteger) countOfCells;
- (L0EntryCell*) objectInCellsAtIndex:(NSUInteger) idx;
- (void) insertObject:(L0EntryCell*) cell inCellsAtIndex:(NSUInteger) idx;
- (void) removeObjectFromCellsAtIndex:(NSUInteger) idx;

- (void) select:(L0EntryCell*) cell;

- (void) selectCellDisplayingEditorAfter:(L0EntryCell*) cell;
- (void) selectCellDisplayingEditorAfterCellAtIndex:(NSUInteger) idx;

@end
